{{!

  Copyright 2016 Facebook, Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

}}{{!

defines how a variable in a field should be passed into another c++ function
from the current function. ie, when calling some_func(a, b, c), the variables
a, b, and c would be written using this file. Most variables can be passed
as themselves by value, but the complex types are unique_ptr values and
need to be moved to the called function.

}}{{#type:bool?}}{{field:name}}{{/type:bool?}}{{!
}}{{#type:byte?}}{{field:name}}{{/type:byte?}}{{!
}}{{#type:i16?}}{{field:name}}{{/type:i16?}}{{!
}}{{#type:i32?}}{{field:name}}{{/type:i32?}}{{!
}}{{#type:i64?}}{{field:name}}{{/type:i64?}}{{!
}}{{#type:double?}}{{field:name}}{{/type:double?}}{{!
}}{{#type:float?}}{{field:name}}{{/type:float?}}{{!
}}{{#type:string?}}std::move({{field:name}}){{/type:string?}}{{!
}}{{#type:binary?}}std::move({{field:name}}){{/type:binary?}}{{!
}}{{#type:struct?}}std::move({{field:name}}){{/type:struct?}}{{!
}}{{#type:container?}}std::move({{field:name}}){{/type:container?}}{{!
}}{{#type:enum?}}{{field:name}}{{/type:enum?}}
